commit | c0903ff4ffd41076d38a342971ca6dc30c2376c3 | [log] [tgz] |
---|---|---|
author | James Farrell <jamesfarrell@google.com> | Wed May 22 23:23:16 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed May 22 23:23:16 2024 +0000 |
tree | d97369dc0bd77218c2ed2d6299eb80a3ebf82632 | |
parent | e2a71c3618b3a91025a780a49c949dec09781435 [diff] | |
parent | 4e156e8fc6cca1a047fa5c479ccf47a6cbea6a89 [diff] |
Update Android.bp by running cargo_embargo am: 4e156e8fc6 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/smccc/+/3096417 Change-Id: I0c988e4ec92cf830d35adecd1b46bcc10c06cdb5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This crate provides support for the Arm SMC Calling Convention version 1.4, including standard Arm Architecture Calls constants, and version 1.1 of the Arm Power State Coordination Interface (PSCI). It includes constants, functions to make the calls (on aarch64 targets), and error types.
Note that the PSCI and SMCCC arch calls may be made via either HVC or SMC. You can choose which one to use by passing either Hvc
or Smc
as a type parameter to the relevant function.
This crate currently only supports aarch64 and the SMC64 versions of the PSCI calls, in the cases that both SMC32 and SMC64 versions exist.
This is not an officially supported Google product.
Licensed under either of
at your option.
If you want to contribute to the project, see details of how we accept contributions.